package cn.edu.xust.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author ufo
 * @version 1.0
 * @date 2023/2/11 15:00
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchRoomNeedsVo {


    @NotNull(message = "酒店不能为空")
    String hotelid;


    @NotNull(message = "开始时间不能为空")
    @Length(max=30)
    String starttimeformat;


    @NotNull(message = "结束时间不能为空")
    @Length(max=30)
    String endtimeformat;

    @NotNull(message = "服务类型不能为空")
    String[] serviceType;

}
